def jin_zi_ta(n, b):
    for i in range(1, n + 1):
        print(" " * (n - i), end="")
        print(f"{b} " * i)


x = int(input("请输入金字塔的行数:"))
y = input("请输入使用的符号:")
jin_zi_ta(x, y)
